<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:comps="http://java.sun.com/jsf/composite/components">

<h:body>

	<ui:composition template="/resources/templates/painelControleTemplate.xhtml">

		<ui:define name="conteudo">

			<h:panelGroup layout="block" styleClass="conteudoPainel">

				<h:panelGroup layout="block" styleClass="container painelControleContainer">

					<p:panel id="painelControleMainPanel">

						<f:facet name="header">
							<h:outputText value="#{locale['administracao.painelDeControle.titulo']}" />
						</f:facet>

						<p:tabView id="tabView" styleClass="painelControleTabView"
							orientation="top">

							<p:tab id="perfilTab">

								<f:facet name="title">
									<h:outputText value="#{locale['adminUsuario.perfil.titulo']}" />
								</f:facet>
								<ui:include src="usuario_paginas/painel_perfil.xhtml" />

							</p:tab>
							
							<p:tab id="dashBoardTab">

								<f:facet name="title">
									<h:outputText value="#{locale['adminUsuario.dashboard.titulo']}" />
								</f:facet>
								<ui:include src="usuario_paginas/painel_dashboard.xhtml" />

							</p:tab>

							<p:tab id="postsTab">

								<f:facet name="title">
									<h:outputText value="#{locale['adminUsuario.noticias.titulo']}" />
								</f:facet>
								<ui:include src="usuario_paginas/painel_posts.xhtml" />

							</p:tab>							
							
						</p:tabView>

					</p:panel>

				</h:panelGroup>

			</h:panelGroup>

		</ui:define>

	</ui:composition>

	<comps:ajaxLoading />

</h:body>

</html>
